package com.zy.je.common.core.utils.probailityhit;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author zy
 */
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProbabilityHitData<T> {
    /**
     * 数据
     */
    private T data;
    /**
     * 概率
     */
    private BigDecimal probability;
    /**
     * 概率区间
     */
    private List<Integer> probabilityRange;
}
